import axios from "@/libs/api.request"
let baseUrl = "http://192.168.1.68:18084"

export const getCatList = (data) => {
    return axios.request({
        url: baseUrl + "/shangchao/order/get_page",
        params: data,
        method: "get"
    });
}

export const getPurchaseList = (data) => {
    return axios.request({
        url: baseUrl + "/jxc/goods/get_page",
        params: data,
        method: "get"
    });
}

//区域选择
export const areaData = (data) => {
    return axios.request({
        url: baseUrl + "/user/region/cascade",
        params: data,
        method: "get"
    });
}

export const orderDetail = (data) => {
    return axios.request({
        url: baseUrl + "/shangchao/goods_order_link",
        params: data,
        method: "get"
    });
}

export const getOrderList = (data) => {
    return axios.request({
        url: baseUrl + "/jxc/order/get_page",
        params: data,
        method: "get"
    });
}








